// PrPage.cpp : implementation file
//

#include "stdafx.h"
#include "ansieditor.h"
#include "PrPage.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CPrPage dialog


CPrPage::CPrPage(UINT nID, CWnd* pParent /*=NULL*/)
	: CDialog(nID, pParent), m_IDD(nID)
{
	//{{AFX_DATA_INIT(CPrPage)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}


void CPrPage::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CPrPage)
		// NOTE: the ClassWizard will add DDX and DDV calls here
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CPrPage, CDialog)
	//{{AFX_MSG_MAP(CPrPage)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CPrPage message handlers

BOOL CPrPage::Create(CWnd *pParent)
{
	return CDialog::Create(m_lpszTemplateName, pParent);
}

BOOL CPrPage::ValidateData()
{
	return TRUE;
}

BOOL CPrPage::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	gpApp->m_mui.UpdateDialog(this, m_IDD);
	
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}
